import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom'

import Login from './pages/Login'
import Home from './pages/Home'

export default function App() {
  return (
    <div>
      <BrowserRouter>
        <Routes>
          <Route path='/' element={<Navigate to="/home"></Navigate>}></Route>
          <Route path='/login' element={<Login></Login>} ></Route>
          <Route path='/home' element={<Home></Home>} ></Route>
        </Routes>
      </BrowserRouter>
    </div>
  )

}